<?php
/*
+-----------------------------------------------------------------------------+
| $Id: *.php 2009-08-18 08:41:22Z Bleakwind $
| Copyright (c) 2003-2010 Bleakwind (www.weaverdream.com)
| http://www.weaverdream.com/
+-----------------------------------------------------------------------------+
*/

// sys configure
$CONFIGURE['sys'] = array(
    'cookie_prefix'             => CONFIG_COOKIE_PREFIX != "" ? CONFIG_COOKIE_PREFIX : "robsofa_",
    'cookie_lifetime'           => CONFIG_COOKIE_LIFETIME == "auto" ? ((int)ini_get("session.gc_maxlifetime") > 0 ? (int)ini_get("session.gc_maxlifetime") : 1440) : 0,
    'cookie_path'               => CONFIG_COOKIE_PATH != null ? CONFIG_COOKIE_PATH : null,
    'cookie_domain'             => CONFIG_COOKIE_DOMAIN != null ? CONFIG_COOKIE_DOMAIN : null,

    'encrypt_mix'               => "bleakwind",
    'lifetime'                  => (int)ini_get("session.gc_maxlifetime") > 0 ? (int)ini_get("session.gc_maxlifetime") : 1440,
);

// common configure
$CONFIGURE['common'] = array(
    'control_admin'             => "admin.php",
    'control_index'             => "index.php",
    'if_output_template'        => "1",
);

// database configure
$CONFIGURE['database'] = array(
    'hostname'                  => CONFIG_DB_HOSTNAME,
    'username'                  => CONFIG_DB_USERNAME,
    'password'                  => CONFIG_DB_PASSWORD,
    'database'                  => CONFIG_DB_DATABASE,
    'charset'                   => CONFIG_DB_CHARSET,
    'type'                      => CONFIG_DB_TYPE,
    'prefix'                    => CONFIG_DB_PREFIX,
    'table_session'             => DB_TABLE_SESSION,
);

// module configure
$CONFIGURE['module'] = array(
    'index'                     => "index",
    'login'                     => "login",

    'quicklaunch'               => "quicklaunch",

    'config'                    => "config",
    'select'                    => "select",
    'amend'                     => "amend",

    'channel'                   => "channel",
    'trans'                     => "trans",
    'trans_group'               => "trans_group",
    'manage'                    => "manage",

    'topic'                     => "topic",

    'member'                    => "member",
    'member_group'              => "member_group",
    'admin_group'               => "admin_group",
    'forbid_ip'                 => "forbid_ip",

    'article'                   => "article",
    'friendlink'                => "friendlink",
    'template'                  => "template",
    'admin_template'            => "admin_template",
    'language'                  => "language",
    'admin_language'            => "admin_language",
    'clean_compile'             => "clean_compile",
    'clean_cache'               => "clean_cache",
    'clean_db'                  => "clean_db",
    'clean_article_cover'       => "clean_article_cover",
    'clean_article_attach'      => "clean_article_attach",
    'clean_friendlink_cover'    => "clean_friendlink_cover",
    'clean_friendlink_attach'   => "clean_friendlink_attach",

    'help_system'               => "help_system",
    'help_frame'                => "help_frame",
    'help_template'             => "help_template",
    'help_skill'                => "help_skill",

    'curve'                     => "curve",
    'verifycode'                => "verifycode",
    'prompt'                    => "prompt",
);
?>
